#include "page01.h"
#include "ui_page01.h"

page01::page01(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::page01)
{
    ui->setupUi(this);
}

page01::~page01()
{
    delete ui;
}

void page01::paintEvent(QPaintEvent *ev)
{
    QPainter p(this);
    QPixmap pix("://image/1.png");
    p.drawPixmap(0,0,500,500,pix);
}

void page01::on_pushButton_clicked()
{
    emit page01Clicked();
}

